package com.nestorbian.jackson.demo.enums;

public enum Status {
    SUCESS("0", "成功"), FAIL("1", "失败");

    private String code;
    private String desc;

    Status(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
